/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.UnityHolidayCalendarFacade;
import org.ipti.br.tag.entity.UnityHolidayCalendar;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;
import javax.inject.Inject;

/**
 *
 * @author root
 */
@Stateless
public class UnityHolidayCalendarBO implements Serializable {

    @Inject
    private UnityHolidayCalendarFacade unityHolidayCalendarDAO;

    public UnityHolidayCalendarFacade getUnityHolidayCalendarDAO() {
        return unityHolidayCalendarDAO;
    }

    public void create(UnityHolidayCalendar unityHolidayCalendar) {
        getUnityHolidayCalendarDAO().create(unityHolidayCalendar);
    }

    public void edit(UnityHolidayCalendar unityHolidayCalendar) {
        getUnityHolidayCalendarDAO().edit(unityHolidayCalendar);
    }

    public void remove(UnityHolidayCalendar unityHolidayCalendar) {
        getUnityHolidayCalendarDAO().remove(unityHolidayCalendar);
    }

    public UnityHolidayCalendar find(Object id) {
        return getUnityHolidayCalendarDAO().find(id);
    }

    public List<UnityHolidayCalendar> findAll() {
        return getUnityHolidayCalendarDAO().findAll();
    }

    public void editForSynchronization(UnityHolidayCalendar unityHolidayCalendar) {
        getUnityHolidayCalendarDAO().editForSynchronization(unityHolidayCalendar);
    }
}
